/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

FIVe3D
Flash Interactive Vector-based 3D
Mathieu Badimon  |  five3d@mathieu-badimon.com

http://five3D.mathieu-badimon.com  |  http://five3d.mathieu-badimon.com/archives/  |  http://code.google.com/p/five3d/

/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

import net.badimon.five3D.display.DisplayObject;
import net.badimon.five3D.display.DisplayObjectContainer;
import net.badimon.five3D.display.Scene;

class net.badimon.five3D.display.InteractiveObject extends DisplayObject {

	function InteractiveObject(scene:Scene, parentclip:MovieClip, name:String, depth:Number, parent:DisplayObjectContainer) {
		super(scene, parentclip, name, depth, parent);
	}

	public function get onRollOver():Function {
		return _clip.onRollOver;
	}

	public function set onRollOver(func:Function):Void {
		initializeEvent("onRollOver", func);
	}

	public function get onRollOut():Function {
		return _clip.onRollOut;
	}

	public function set onRollOut(func:Function):Void {
		initializeEvent("onRollOut", func);
	}

	public function get onPress():Function {
		return _clip.onPress;
	}

	public function set onPress(func:Function):Void {
		initializeEvent("onPress", func);
	}

	public function get onDragOver():Function {
		return _clip.onDragOver;
	}

	public function set onDragOver(func:Function):Void {
		initializeEvent("onDragOver", func);
	}

	public function get onDragOut():Function {
		return _clip.onDragOut;
	}

	public function set onDragOut(func:Function):Void {
		initializeEvent("onDragOut", func);
	}

	public function get onRelease():Function {
		return _clip.onRelease;
	}

	public function set onRelease(func:Function):Void {
		initializeEvent("onRelease", func);
	}

	public function get onReleaseOutside():Function {
		return _clip.onReleaseOutside;
	}

	public function set onReleaseOutside(func:Function):Void {
		initializeEvent("onReleaseOutside", func);
	}

	public function get onMouseDown():Function {
		return _clip.onMouseMove;
	}

	public function set onMouseDown(func:Function):Void {
		initializeEvent("onMouseDown", func);
	}

	public function get onMouseUp():Function {
		return _clip.onMouseMove;
	}

	public function set onMouseUp(func:Function):Void {
		initializeEvent("onMouseUp", func);
	}

	public function get onMouseMove():Function {
		return _clip.onMouseMove;
	}

	public function set onMouseMove(func:Function):Void {
		initializeEvent("onMouseMove", func);
	}
}